<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@taglib uri="http://java.sun.com/jstl/core_rt" prefix="xm"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<link type="text/css" rel="stylesheet" href="<%=request.getContextPath() %>/css/base.css">
<link type="text/css" rel="stylesheet" href="<%=request.getContextPath() %>/css/product.css">
<script type="text/javascript">
function addCart(merId,price,sprice ){
	location.href='<%=request.getContextPath()%>/filter/cart?m=add&merId='+merId+'&price='+price+'&sprice='+sprice;
}
</script>
</head>
<body>
	 <div id="box">
			<jsp:include page="/comm/header.jsp"></jsp:include>
		 <div id="main">
		 	<div id="merchandiseDetialInfo">
		 		<img alt="" src="<%=request.getContextPath() %>/images/icon_goods.gif" class="logoImg">
				<div class="merDiv">
					<img alt="" src="<%=request.getContextPath() %>${merchandiseModel.picture }">
					&nbsp;&nbsp;&nbsp;&nbsp;商品类别: ${merchandiseModel.category }<br>
					&nbsp;&nbsp;&nbsp;&nbsp;商品名称:${merchandiseModel.merName }<br>
					&nbsp;&nbsp;&nbsp;&nbsp;商品型号: ${merchandiseModel.merModel }<br>
					&nbsp;&nbsp;&nbsp;&nbsp;市场价:&nbsp;&nbsp;${merchandiseModel.price } <br>
								<xm:if test="${merchandiseModel.special eq 1 }">
									&nbsp;&nbsp;&nbsp;&nbsp;特价: &nbsp;&nbsp;${merchandiseModel.sprice }<br>
								</xm:if>
			    	 &nbsp;&nbsp;&nbsp;&nbsp;生产厂家:${merchandiseModel.manufacturer }<br>
			 		&nbsp;&nbsp;&nbsp;&nbsp;生产日期:${merchandiseModel.leaveFactoryDate }<br>
			 		
			 		&nbsp;&nbsp;&nbsp;&nbsp;尺寸范围:36-45<br>			
			 		
			 		&nbsp;&nbsp;&nbsp;&nbsp;商品描述:${merchandiseModel.merDesc }
				</div>
		 		<div class="buyDiv">
				<img alt="" src="<%=request.getContextPath() %>/images/icon_buy13.gif" onclick="addCart(${merchandiseModel.id},${merchandiseModel.price },${merchandiseModel.sprice })">
				</div>
		 	</div>
		 </div>
	<jsp:include page="/comm/footer.jsp"></jsp:include>
		 
	 </div>
</body>
</html>